package com.csair.seam.domain.service;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.csair.seam.domain.model.entity.IdleReceive;
import com.csair.seam.domain.model.entity.IdleReceiveExecl;
import com.csair.seam.domain.model.param.IdleReceiveParam;
import com.github.pagehelper.PageInfo;


public interface IdleReceiveService {

	public List<IdleReceiveExecl> getIdleReceive(IdleReceiveParam param);

	public  PageInfo<IdleReceive>  getIdleReceivePage(IdleReceiveParam idleReceive);

	public BigDecimal getYearInsum();

	public Integer getYearReceivnum();

	public BigDecimal getAllInsum();

	public Integer getAllReceivnum();

	public List<IdleReceive> getOutcorpCountAndInsum(String startDate,
													 String endDate,
													 String intype,
													 String category);

	public List<IdleReceive> getIncorpCountAndInsum(String startDate,
													String endDate,
													String intype,
													String category);

	public void addBatchIdleReceive(List<IdleReceive> ids);

	public Map<String, String> checkIdle(IdleReceive ir, Map<String,String> error);

	public String getNameByCode(String code);

}
